package com.microservices.auth.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;

/**
 * 元素权限表
 *
 * @author daiqiaohong
 * @since 2025年1月13日
 */
@Getter
@Setter
@TableName("permission_element")
@Schema(description = "元素权限表")
public class PermissionElementEntity extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableField("permission_id")
    @Schema(description = "权限ID")
    private Long permissionId;

    @TableField("element_code")
    @Schema(description = "元素Code")
    private String elementCode;

    @TableField("element_name")
    @Schema(description = "元素名称")
    private String elementName;

    @TableField("remark")
    @Schema(description = "备注")
    private String remark;

}
